package org.jeecg.modules.yw.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.yw.entity.ReportInfo;
import org.jeecg.modules.yw.mapper.ReportInfoMapper;
import org.jeecg.modules.yw.vo.MonthVo;
import org.jeecg.modules.yw.vo.OtherVo;
import org.jeecg.modules.yw.vo.PeopleVo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ReportInfoService extends ServiceImpl<ReportInfoMapper, ReportInfo> {
    public PeopleVo peopleCount() {
        return baseMapper.peopleCount();
    }
    public List<MonthVo> monthCount(int year) {
        return baseMapper.monthCount(year);
    }

    public List<MonthVo> monthpeople(int year) {
        return baseMapper.monthpeople(year);
    }

    public List<MonthVo> monthpeople1(int year) {
        return baseMapper.monthpeople1(year);
    }

    public List<MonthVo> monthpeople2(int year) {
        return baseMapper.monthpeople2(year);
    }

    public OtherVo other(int year, String yearMonth) {
        return baseMapper.other(year,yearMonth);
    }
}
